package com.jeesite.modules.stock.entity;

import com.jeesite.common.entity.DataEntity;
import com.jeesite.common.mybatis.annotation.Column;
import com.jeesite.common.mybatis.annotation.Table;
import io.swagger.models.auth.In;

@Table(name="user_columns", alias="a", label="板块", columns={
		@Column(name="id", attrName="id", label="主键", isPK=true),
		@Column(name="column_dataindex", attrName="columnDataindex", label="列code", isQuery=true),
		@Column(name="column_key", attrName="columnKey", label="字段key", isQuery=true),
		@Column(name="column_name", attrName="columnName", label="字段名称", isQuery=true),
		@Column(name="column_type", attrName="columnType", label="字段名称", isQuery=true),
		@Column(name="is_sort", attrName="isSort", label="是否允许排序", isQuery=true),
		@Column(name="user_id", attrName="userId", label="用户id", isQuery=true),
		@Column(name="sn", attrName="sn", label="排序号", isQuery=false),
		@Column(name="default_sn", attrName="defaultSn", label="排序号", isQuery=false),
		@Column(name="checked", attrName="checked", label="是否显示", isQuery=true),
	})
public class UserColumnsEntity extends DataEntity<DataEntity<UserColumnsEntity>>{

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	
	private String columnDataindex;

	private String columnName;

	private String columnKey;

	private String columnType;

	private Integer isSort;
	
	private String userId;
	
	private Integer sn;

	private Integer defaultSn;

	private Integer checked;

	public String getColumnDataindex() {
		return columnDataindex;
	}

	public void setColumnDataindex(String columnDataindex) {
		this.columnDataindex = columnDataindex;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getSn() {
		return sn;
	}

	public void setSn(Integer sn) {
		this.sn = sn;
	}

	public Integer getChecked() {
		return checked;
	}

	public void setChecked(Integer checked) {
		this.checked = checked;
	}

	public String getColumnKey() {
		return columnKey;
	}

	public void setColumnKey(String columnKey) {
		this.columnKey = columnKey;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public Integer getIsSort() {
		return isSort;
	}

	public void setIsSort(Integer isSort) {
		this.isSort = isSort;
	}

	public String getColumnType() {
		return columnType;
	}

	public void setColumnType(String columnType) {
		this.columnType = columnType;
	}

	public Integer getDefaultSn() {
		return defaultSn;
	}

	public void setDefaultSn(Integer defaultSn) {
		this.defaultSn = defaultSn;
	}
}
